package cn.stylefeng.guns.sys.modular.system.mapper;

import cn.stylefeng.guns.sys.modular.system.entity.DeptEmp;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 档案表 Mapper 接口
 * </p>
 * @author liuy
 * @since
 */
public interface DeptEmpMapper extends BaseMapper<DeptEmp> {

    int deleteByDDUser(@Param("ddUserId") String ddUserId);

    List<Integer> listEmpsByDept(@Param("deptId") Long deptId);

    List<DeptEmp> selectAll();
}
